import com.ruoyi.job.feign.PublisherClient;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class testFeign {
    @Autowired
    PublisherClient publisherClient;
    @Test
    public void testFeign() {
        String msg = publisherClient.sendEmail("direct.queueEmail", "hello world");
        System.out.println(msg);
    }
}
